<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="博客 blog">
    <meta name="description" content="熊猫小二的博客  xmxe&#39;s blog">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- 为了引用qq空间图床文件 -->
    <meta name="referrer" content="no-referrer">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>熊猫小二</title>
    <link rel="icon" type="image/x-icon, image/vnd.microsoft.icon" href="/blog/favicon.ico">
    <link rel="stylesheet" type="text/css" href="/blog/libs/awesome/css/all.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/my.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/loading.css">

    <script src="/blog/libs/jquery/jquery.min.js"></script>

<meta name="generator" content="Hexo 6.3.0"></head>



   
<style>
    body{
       background-image: url(/blog/medias/cover.jpg);
       background-repeat:no-repeat;
       background-size:cover;
       background-attachment:fixed;
    }
</style>



<body>
    
  <div id="loading-box">
    <div class="loading-left-bg"></div>
    <div class="loading-right-bg"></div>
    <div class="spinner-box">
      <div class="configure-border-1">
        <div class="configure-core"></div>
      </div>
      <div class="configure-border-2">
        <div class="configure-core"></div>
      </div>
      <div class="loading-word">加载中...</div>
    </div>
  </div>
  <!-- 页面加载动画 -->
  <script>
    $(document).ready(function () {
      // document.body.style.overflow = 'auto';
      document.getElementById('loading-box').classList.add("loaded")
    })
  </script>

    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/blog/" class="waves-effect waves-light">
                    
                        <img src="/blog/medias/logo.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">熊猫小二</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="#" class="waves-effect waves-light">

      
      <i class="fas fa-book" style="zoom: 0.6;"></i>
      
      <span>归档</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/blog/archives">
          
          <i class="fas fa-archive" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>归档</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/tags">
          
          <i class="fas fa-tags" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>标签</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/categories">
          
          <i class="fas fa-bookmark" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>分类</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友链</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="#" class="waves-effect waves-light">

      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/blog/about">
          
          <i class="fas fa-star-of-david" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>主页</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/gallery">
          
          <i class="fas fa-images" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>相册</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
  
    <li>
      <a class="waves-effect waves-light" onclick="switchNightMode()">
        <i id="sum-moon-icon" class="fas fa-sun" style="zoom:0.65;" title="切换主题"></i>
      </a>
    </li>
  
  
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
          <img src="/blog/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">熊猫小二</div>
        <div class="logo-desc">
            
            熊猫小二的博客  xmxe&#39;s blog
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/blog/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-book"></i>
			
			归档
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  >
              
                <li>

                  <a href="/blog/archives " style="margin-left:75px">
				  
				   <i class="fa fas fa-archive" style="position: absolute;left:50px" ></i>
			      
		          <span>归档</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/tags " style="margin-left:75px">
				  
				   <i class="fa fas fa-tags" style="position: absolute;left:50px" ></i>
			      
		          <span>标签</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/categories " style="margin-left:75px">
				  
				   <i class="fa fas fa-bookmark" style="position: absolute;left:50px" ></i>
			      
		          <span>分类</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友链
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-user-circle"></i>
			
			关于
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  >
              
                <li>

                  <a href="/blog/about " style="margin-left:75px">
				  
				   <i class="fa fas fa-star-of-david" style="position: absolute;left:50px" ></i>
			      
		          <span>主页</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/gallery " style="margin-left:75px">
				  
				   <i class="fa fas fa-images" style="position: absolute;left:50px" ></i>
			      
		          <span>相册</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        
    </ul>
</div>


        </div>

        
    </nav>

</header>

    
<style>
    .carousel-control {
        width: 45px;
        height: 45px;
        line-height: 55px;
        border-radius: 45px;
        background: transparent;
        cursor: pointer;
        z-index: 100;
    }

    #prev-cover {
        position: absolute;
        top: 48%;
        left: 8px;
    }

    #next-cover {
        position: absolute;
        top: 48%;
        right: 8px;;
    }

    #prev-cover i {
        margin-right: 3px;
    }

    #next-cover i {
        margin-left: 3px;
    }

    .carousel-control:hover {
        background-color: rgba(0, 0, 0, .4);
    }

    .carousel-control i {
        color: #fff;
        font-size: 2.4rem;
    }
</style>



<div class="carousel carousel-slider center index-cover" data-indicators="true" style="margin-top: -64px;">
    
        <div id="prev-cover" class="left waves-effect carousel-control">
            <i class="icon fa fa-angle-left"></i>
        </div>
        <div id="next-cover" class="right waves-effect carousel-control">
            <i class="icon fa fa-angle-right"></i>
        </div>
    

    <div class="carousel-item white-text bg-cover about-cover">
        <div class="container">
            <div class="row">
    <div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
        <div class="brand">
            <div class="title center-align">
                
                    
                
            </div>

            <div class="description center-align">
                
                
                <!-- 一言 -->
                
                    <span id="hitokoto" style="font-size: 2rem;"></span>
                    <!-- 打字机 -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script> -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/bluebird@3/js/browser/bluebird.min.js"></script> -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script> -->
                    <script>
                        var hitokotoContent = ''
                        function typed(hitokotoContent) {
                            var typed = new Typed("#hitokoto", {
                                strings: [
                                    hitokotoContent
                                ],
                                startDelay: 300,
                                typeSpeed: 70,
                                loop: false,
                                backSpeed: 50,
                                showCursor: true
                            });
                        }
                        async function hitokoto() {
                            hitokotoContent = await fetch('https://v1.hitokoto.cn')
                                .then(function (res) {
                                    return res.json();
                                })
                                .then(function (data) {
                                    return (data.hitokoto);
                                })
                                .catch(function (err) {
                                    console.error(err);
                                })
                            await typed(hitokotoContent)
                        }
                        hitokoto()
                    </script>
                
            </div>
        </div>
    </div>
</div>




<script>
    // 每天切换banner图.
    // var bannerUrl = "/blog/medias/banner/" + new Date().getDay() + '.jpg';

    // 随机切换banner图
    var randomNum = Math.floor(Math.random() * 15 + 1) - 1
    var randomUrl = 'medias/featureimages/0.jpg,medias/featureimages/1.jpg,medias/featureimages/2.jpg,medias/featureimages/3.jpg,medias/featureimages/4.jpg,medias/featureimages/5.jpg,medias/featureimages/7.jpg,medias/featureimages/6.jpg,medias/featureimages/8.jpg,medias/featureimages/9.jpg,medias/featureimages/10.jpg,medias/featureimages/11.jpg,medias/featureimages/12.jpg,medias/featureimages/13.jpg,medias/featureimages/14.jpg'.split(',')[randomNum]
    if(!false){
        randomUrl =  '/blog/' + 'medias/featureimages/0.jpg,medias/featureimages/1.jpg,medias/featureimages/2.jpg,medias/featureimages/3.jpg,medias/featureimages/4.jpg,medias/featureimages/5.jpg,medias/featureimages/7.jpg,medias/featureimages/6.jpg,medias/featureimages/8.jpg,medias/featureimages/9.jpg,medias/featureimages/10.jpg,medias/featureimages/11.jpg,medias/featureimages/12.jpg,medias/featureimages/13.jpg,medias/featureimages/14.jpg'.split(',')[randomNum]
    }
    
    $('.bg-cover').css('background-image', 'url(' + randomUrl + ')');
</script>



            <div class="cover-btns">
                <a href="#articles" class="waves-effect waves-light btn">
                    <i class="fa fa-angle-double-down"></i>开始阅读
                </a>

                
            </div>
        </div>
    </div>

    
        

        
            
            <div class="carousel-item white-text carousel-post bg-cover"
                 style="background-image: url('https://pic1.zhimg.com/v2-7382fb7654c33a5e843f51ec139b1da0_r.jpg');">
                <div class="container">
                    <div class="row">
                        <div class="col s10 offset-s1">
                            <div class="title center-align">JVM知识点</div>
                            <div class="description center-align">
                                
                                    JVM内存区域、垃圾回收、调优、JVM工具、参数等相关命令
                                
                            </div>
                            <div class="cover-btns">
                                <a href="/blog/posts/be5a099f7894/" class="waves-effect waves-light btn"
                                   target="_blank">
                                    <i class="icon fa fa-eye fa-fw"></i>阅读更多
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
            
            <div class="carousel-item white-text carousel-post bg-cover"
                 style="background-image: url('https://pica.zhimg.com/v2-72839d9aecf00f3185303c7f76c597ee_r.jpg');">
                <div class="container">
                    <div class="row">
                        <div class="col s10 offset-s1">
                            <div class="title center-align">Java中的线程</div>
                            <div class="description center-align">
                                
                                    线程+线程池+虚拟线程
                                
                            </div>
                            <div class="cover-btns">
                                <a href="/blog/posts/50718223d917/" class="waves-effect waves-light btn"
                                   target="_blank">
                                    <i class="icon fa fa-eye fa-fw"></i>阅读更多
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
            
            <div class="carousel-item white-text carousel-post bg-cover"
                 style="background-image: url('https://pic4.zhimg.com/v2-13cd8daa0a4eba009b68785cfbbd5007_r.jpg');">
                <div class="container">
                    <div class="row">
                        <div class="col s10 offset-s1">
                            <div class="title center-align">Spring相关</div>
                            <div class="description center-align">
                                
                                    Spring注解、循环依赖、Spring MVC、XMl配置、Spring Boot
                                
                            </div>
                            <div class="cover-btns">
                                <a href="/blog/posts/e47eee220e74/" class="waves-effect waves-light btn"
                                   target="_blank">
                                    <i class="icon fa fa-eye fa-fw"></i>阅读更多
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
            
            <div class="carousel-item white-text carousel-post bg-cover"
                 style="background-image: url('https://pic1.zhimg.com/v2-fad63176fa79f25cd1b486baf508abc0_r.jpg');">
                <div class="container">
                    <div class="row">
                        <div class="col s10 offset-s1">
                            <div class="title center-align">Spring中的Bean对象</div>
                            <div class="description center-align">
                                
                                    Spring Bean、生命周期、扩展接口
                                
                            </div>
                            <div class="cover-btns">
                                <a href="/blog/posts/b435885d7cf1/" class="waves-effect waves-light btn"
                                   target="_blank">
                                    <i class="icon fa fa-eye fa-fw"></i>阅读更多
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
        <div class="cover-social-link2">
    <a href="https://github.com/xmxe" class="tooltipped" target="_blank" data-tooltip="GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="https://gitee.com/xmxe" class="tooltipped" target="_blank" data-tooltip="码云" data-position="top" data-delay="50">
        <svg width="19" height="19" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" style="position: relative; top: 2px; left: 0.5px;">
            <path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z" fill="#fff">
            </path>
        </svg>
    </a>

















    
        
          <a href="/blog/download" class="tooltipped" target="_blank" data-tooltip="下载" data-position="top" data-delay="50">
            <i class="fas fa-download"></i>
          </a>
        
    



    <style>
  .mobiledevice {
    display: none !important;
  }

  footer .wechat_qrcode {
    position: fixed;
  }

  /*微信二维码*/
  .wechat_qrcode {
    position: absolute;
    margin-left: 10px;
    bottom: 10px;
    background: url("/blog/medias/xcx.png");
    zoom:40%;
  }

  .wechat:hover .wechat_qrcode {
    width: 430px;
    height: 430px;
    animation: move 0.4s linear 1 normal;
  }

  @keyframes move {
    0% {
      transform: translate(100px, 0);
      opacity: 0;
    }
    50% {
      transform: translate(50px, 0);
      opacity: 0.5;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @media only screen and (max-width: 601px) {
    .wechat {
      display: none !important;
    }
    .mobiledevice {
      display: inline-block !important;
    }
  }
</style>

<a href="javascript:;" class="wechat" data-position="top" data-delay="50">
  <i class="fab fa-weixin"></i>
  <img class="wechat_qrcode" />
</a>

<a
  href="javascript:;"
  class="tooltipped mobiledevice"
  data-tooltip="微信: 464817304"
  data-position="top"
  data-delay="50"
>
  <i class="fab fa-weixin"></i>
</a>

</div>
    
</div>

<script>
    $(function () {
        let coverSlider = $('.carousel');

        //用户触摸轮播自动 restartPlay 是否生效
        let initUserPressedOrDraggedActive = false

        //用户触摸轮播自动 restartPlay
        function initUserPressedOrDragged(instance) {
            setInterval(() => {
                if (instance.pressed || instance.dragged) {
                    // console.log('initUserPressedOrDragged: ',instance.pressed,instance.dragged)
                    restartPlay()
                }
            }, 1000)
        }

        coverSlider.carousel({
            duration: Number('120'),
            fullWidth: true,
            indicators: 'true' === 'true',
            onCycleTo() {
                if (!initUserPressedOrDraggedActive) {
                    // console.log('initUserPressedOrDraggedActive')
                    initUserPressedOrDragged(this)
                    initUserPressedOrDraggedActive = true
                }
            },
        })

        let carouselIntervalId;
        
        // Loop to call the next cover article picture.
        let autoCarousel = function () {
            carouselIntervalId = setInterval(function () {
                coverSlider.carousel('next');
            }, 5000);
        };
        autoCarousel();
        

        function restartPlay() {
            
            clearInterval(carouselIntervalId);
            autoCarousel();
            
        };

        
        // prev and next cover post.
        $('#prev-cover').click(function () {
            coverSlider.carousel('prev');
            restartPlay();
        });
        $('#next-cover').click(function () {
            coverSlider.carousel('next');
            restartPlay();
        });
        
    });
</script>



<main class="content">

    
    <div id="indexCard" class="index-card">
        <div class="container ">
            <div class="card">
                <div class="card-content">
                

                

                

                
                    <div id="recommend-sections" class="recommend">
                        





<div class="title"><i class="far fa-thumbs-up"></i>&nbsp;&nbsp;推荐文章</div>

<div class="row">

    
    
    <div class="col s12 m6" >
        <div class="post-card" style="background-image: url('https://pic1.zhimg.com/v2-7382fb7654c33a5e843f51ec139b1da0_r.jpg')">    
            <div class="post-body">
                <div class="post-categories">
                    
                        
                            <a href="/blog/categories/Java/" class="category">Java</a>
                        
                    
                </div>
                <a href="/blog/posts/be5a099f7894/">
                    <h3 class="post-title">JVM知识点</h3>
                </a>
                <p class="post-description">
                    
                        JVM内存区域、垃圾回收、调优、JVM工具、参数等相关命令
                    
                </p>
                <a href="/blog/posts/be5a099f7894/" class="read-more btn waves-effect waves-light" style="background: linear-gradient(to right, #FF5E3A 0%, #FF2A68 100%)" target="_blank">
                    <i class="icon far fa-eye fa-fw"></i>阅读更多
                </a>
            </div>
        </div>
    </div>
    
    
    <div class="col s12 m6" >
        <div class="post-card" style="background-image: url('https://pica.zhimg.com/v2-72839d9aecf00f3185303c7f76c597ee_r.jpg')">    
            <div class="post-body">
                <div class="post-categories">
                    
                        
                            <a href="/blog/categories/Java/" class="category">Java</a>
                        
                    
                </div>
                <a href="/blog/posts/50718223d917/">
                    <h3 class="post-title">Java中的线程</h3>
                </a>
                <p class="post-description">
                    
                        线程+线程池+虚拟线程
                    
                </p>
                <a href="/blog/posts/50718223d917/" class="read-more btn waves-effect waves-light" style="background: linear-gradient(to right, #EF4DB6 0%, #C643FC 100%)" target="_blank">
                    <i class="icon far fa-eye fa-fw"></i>阅读更多
                </a>
            </div>
        </div>
    </div>
    
    
    <div class="col s12 m6" data-aos="zoom-in-up">
        <div class="post-card" style="background-image: url('https://pic4.zhimg.com/v2-13cd8daa0a4eba009b68785cfbbd5007_r.jpg')">    
            <div class="post-body">
                <div class="post-categories">
                    
                        
                            <a href="/blog/categories/Spring/" class="category">Spring</a>
                        
                    
                </div>
                <a href="/blog/posts/e47eee220e74/">
                    <h3 class="post-title">Spring相关</h3>
                </a>
                <p class="post-description">
                    
                        Spring注解、循环依赖、Spring MVC、XMl配置、Spring Boot
                    
                </p>
                <a href="/blog/posts/e47eee220e74/" class="read-more btn waves-effect waves-light" style="background: linear-gradient(to right, #1AD6FD 0%, #1D62F0 100%)" target="_blank">
                    <i class="icon far fa-eye fa-fw"></i>阅读更多
                </a>
            </div>
        </div>
    </div>
    
    
    <div class="col s12 m6" data-aos="zoom-in-up">
        <div class="post-card" style="background-image: url('https://pic1.zhimg.com/v2-fad63176fa79f25cd1b486baf508abc0_r.jpg')">    
            <div class="post-body">
                <div class="post-categories">
                    
                        
                            <a href="/blog/categories/Spring/" class="category">Spring</a>
                        
                    
                </div>
                <a href="/blog/posts/b435885d7cf1/">
                    <h3 class="post-title">Spring中的Bean对象</h3>
                </a>
                <p class="post-description">
                    
                        Spring Bean、生命周期、扩展接口
                    
                </p>
                <a href="/blog/posts/b435885d7cf1/" class="read-more btn waves-effect waves-light" style="background: linear-gradient(to right, #FFCC00 0%, #FF9500 100%)" target="_blank">
                    <i class="icon far fa-eye fa-fw"></i>阅读更多
                </a>
            </div>
        </div>
    </div>
    

</div>


                    </div>
                
                </div>
                
            </div>
        </div>
    </div>
    

    

    <!-- 所有文章卡片 -->
    <article id="articles" class="container articles">
        <div class="row article-row">
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/33612673cd2d/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://img95.699pic.com/photo/32213/1132.jpg_wh860.jpg" class="responsive-img" alt="Web项目中的安全设计">
                            
                            <span class="card-title">Web项目中的安全设计</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                完整性校验描述
数据传输完整性是指数据在传输过程中，不被未授权的篡改或在篡改后能够被迅速发现。
防护建议

传输过程中数据做整体加密处理（该方案存在一定风险，若攻击者拥有系统访问权限，可在数据未解密的情况下直接篡改加密数据，进行提权操作，固
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2025-11-27
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E4%BB%A3%E7%A0%81%E5%AE%9E%E6%88%98/" target="_blank">
                                            <span class="chip bg-color">
                                                代码实战
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/69be9f826425/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://img-blog.csdnimg.cn/img_convert/01a0a5146f3c0237227168cefcd0d0bd.png" class="responsive-img" alt="消息队列技术选型">
                            
                            <span class="card-title">消息队列技术选型</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                Kafka
Kafka是LinkedIn开源的一个分布式流式处理平台，已经成为Apache顶级项目，早期被用来用于处理海量的日志，后面才慢慢发展成了一款功能全面的高性能消息队列。流式处理平台具有三个关键功能：

消息队列：发布和订阅消息流，
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-07-19
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/%E6%8A%80%E6%9C%AF%E6%A0%88/" class="post-category" target="_blank">
                                            技术栈
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/92543cdfac32/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://img2.baidu.com/it/u=3204455731,2423486300&fm=253&fmt=auto&app=138&f=JPG?w=600&h=338" class="responsive-img" alt="FastDFS+Nginx安装">
                            
                            <span class="card-title">FastDFS+Nginx安装</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                从此网站下载相关压缩包，包括但不限于libfastcommon-master.zip、fastdfs-master.zip、fastdfs-nginx-module-master等
安装所需的依赖包yum install make cmak
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-07-01
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E5%AE%89%E8%A3%85/" target="_blank">
                                            <span class="chip bg-color">
                                                安装
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/ad742aa7ce3a/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/v2-7472ee03e1417bacc6db982d74ee2b86_720w.jpg" class="responsive-img" alt="Keepalived+Nginx高可用">
                            
                            <span class="card-title">Keepalived+Nginx高可用</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                前期准备服务器


服务器
CPU
内存
系统
硬盘
IP



MASTER&#x2F;NGINX服务器
8核心、主频2.2GHz 以上
1G
Centos7
20G



BACKUP&#x2F;NGINX服务器
8核心、主频2.2GH
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-07-01
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E5%AE%89%E8%A3%85/" target="_blank">
                                            <span class="chip bg-color">
                                                安装
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/2f3a45eead44/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://img2.baidu.com/it/u=746264043,112220562&fm=253&fmt=auto&app=138&f=JPEG?w=466&h=273" class="responsive-img" alt="MyCat读写分离搭建">
                            
                            <span class="card-title">MyCat读写分离搭建</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                前言mycat是最近很火的一款国人发明的分布式数据库中间件，它是基于阿里的cobar的基础上进行开发的,搭建之前我们先要配置mysql的主从复制，这个过程很长，我这里就不写了，有兴趣的可以看看我写的这篇文章。linux centos下mys
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-07-01
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E5%AE%89%E8%A3%85/" target="_blank">
                                            <span class="chip bg-color">
                                                安装
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/5dd8d96c7458/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/v2-b581c1513e4d3f51a7f281a2243de302.jpg" class="responsive-img" alt="MyBatis相关">
                            
                            <span class="card-title">MyBatis相关</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                缓存一级缓存是默认开启的，它在一个sqlSession会话里面的所有查询操作都会保存到缓存中，一般来说一个请求中的所有增删改查操作都是在同一个sqlSession里面的，所以我们可以认为每个请求都有自己的一级缓存，如果同一个sqlSessi
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-05-30
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/Java/" class="post-category" target="_blank">
                                            Java
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/a323428e6f1c/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/70/v2-ba4a778fbecaa7d0169b8c379cf1f392_1440w.avis" class="responsive-img" alt="SpringBoot&amp;SpringCloud">
                            
                            <span class="card-title">SpringBoot&amp;SpringCloud</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                springboot-actuator


SpringBoot监控神器-Actuator保姆级教程
手把手教你实现SpringBoot的监控！
Spring Cloud应用的优雅下线与灰度发布



springboot-admin



                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-05-30
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/Spring/" class="post-category" target="_blank">
                                            Spring
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/cd3486d816d5/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/70/47807b7f97507fdce8535d03dc5dbd4e_1440w.avis" class="responsive-img" alt="Flash Flash,Hundred Yard Dash">
                            
                            <span class="card-title">Flash Flash,Hundred Yard Dash</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                下载


apache旗下安装包
centos rpm包(cat &#x2F;etc&#x2F;centos-release)
PLSQL历史版本下载



Clash下载 &#x2F; GitHub
Clash Meta for Andr
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-05-30
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E9%9A%8F%E7%AC%94/" target="_blank">
                                            <span class="chip bg-color">
                                                随笔
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/487cf9cd2527/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/70/v2-2f28f965ea1e7a2cd668d5a7f6d38fbb_1440w.avis" class="responsive-img" alt="MacOS相关">
                            
                            <span class="card-title">MacOS相关</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                Mac软件推荐Typora
找到&#x2F;Applications&#x2F;Typora.app&#x2F;Contents&#x2F;Resources&#x2F;TypeMark&#x2F;page-dist&#x2F;static
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-03-20
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E9%9A%8F%E7%AC%94/" target="_blank">
                                            <span class="chip bg-color">
                                                随笔
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/8a25c83216a8/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/70/v2-25803fd579557b184ec9282d63167976_1440w.avis" class="responsive-img" alt="Arthas教程">
                            
                            <span class="card-title">Arthas教程</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                常用命令stack输出当前方法被调用的调用路径。很多时候我们都知道一个方法被执行，但是有很多地方调用了它，你并不知道是谁调用了它，此时你需要的是stack命令。
stack com.baomidou.mybatisplus.extensio
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2024-01-08
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/%E6%8A%80%E6%9C%AF%E6%A0%88/" class="post-category" target="_blank">
                                            技术栈
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/47c89cb0ed9b/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://img-blog.csdnimg.cn/img_convert/09600fbc706fb977ae53d5524d536ea9.png" class="responsive-img" alt="kubernetes">
                            
                            <span class="card-title">kubernetes</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                准备工作在开始本教程之前，需要配置好本地环境，以下是需要安装的依赖和包。
安装docker首先我们需要安装docker来打包镜像，如果你本地已经安装了docker，那么你可以选择跳过这一小节。
推荐安装方法目前使用Docker Deskto
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-11-17
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/%E6%8A%80%E6%9C%AF%E6%A0%88/" class="post-category" target="_blank">
                                            技术栈
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/4cd9fba2c490/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/v2-271693316513b5a0410ca80a2c160b5e_1440w.jpg" class="responsive-img" alt="JS数组操作">
                            
                            <span class="card-title">JS数组操作</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                常用操作声明数组const fruits = new Array('Apple', 'Banana');
console.log(fruits.length);

// 通过数组字面量创建一个有2个元素的'fruits'数组.
const 
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-05-17
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/JS/" class="post-category" target="_blank">
                                            JS
                                        </a>
                                    
                                
                                    
                                        <a href="/blog/tags/%E4%BB%A3%E7%A0%81%E5%AE%9E%E6%88%98/" target="_blank">
                                            <span class="chip bg-color">
                                                代码实战
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/b32de5bbeb68/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/v2-6ef93db4040b0eb0b4524d06e372ad0f.jpg" class="responsive-img" alt="编写JavaScript代码的小技巧">
                            
                            <span class="card-title">编写JavaScript代码的小技巧</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                生成随机颜色&#x2F;随机数&#x2F;Boolean值// 生成随机颜色
const generateRandomHexColor = () => Math.floor(Math.random() * 0xffffff).toStrin
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-05-17
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/JS/" class="post-category" target="_blank">
                                            JS
                                        </a>
                                    
                                
                                    
                                        <a href="/blog/tags/%E4%BB%A3%E7%A0%81%E5%AE%9E%E6%88%98/" target="_blank">
                                            <span class="chip bg-color">
                                                代码实战
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/4ab442c90ff9/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/v2-bdccba68ad2e37f6efc96a15f7897e2d.jpg" class="responsive-img" alt="CSS相关">
                            
                            <span class="card-title">CSS相关</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                居中&lt;!-- div居中,需要设置宽度-->
&lt;div style="margin : 0 auto;width:80%">&lt;/div>
&lt;!-- div里面的内容居中-->
&lt;div style="margi
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-04-03
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/CSS/" class="post-category" target="_blank">
                                            CSS
                                        </a>
                                    
                                
                                    
                                        <a href="/blog/tags/%E4%BB%A3%E7%A0%81%E5%AE%9E%E6%88%98/" target="_blank">
                                            <span class="chip bg-color">
                                                代码实战
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/50bd139ed1e1/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/v2-a813d6ce08aea23e86f1f269a1760810_1440w.jpg" class="responsive-img" alt="分布式ID">
                            
                            <span class="card-title">分布式ID</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                分布式ID介绍什么是ID？日常开发中，我们需要对系统中的各种数据使用ID唯一表示，比如用户ID对应且仅对应一个人，商品ID对应且仅对应一件商品，订单ID对应且仅对应一个订单。我们现实生活中也有各种ID，比如身份证ID对应且仅对应一个人、地址
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-03-24
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    
                                        <a href="/blog/tags/%E4%BB%A3%E7%A0%81%E5%AE%9E%E6%88%98/" target="_blank">
                                            <span class="chip bg-color">
                                                代码实战
                                            </span>
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/c83e06a22e1f/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://pic1.zhimg.com/v2-2bc1a9883960ccf43a0f4c643178c4c3_1440w.jpg" class="responsive-img" alt="Java类加载">
                            
                            <span class="card-title">Java类加载</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                类文件结构详解回顾一下字节码
在Java中，JVM可以理解的代码就叫做字节码（即扩展名为.class的文件），它不面向任何特定的处理器，只面向虚拟机。Java语言通过字节码的方式，在一定程度上解决了传统解释型语言执行效率低的问题，同时又保留
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-03-21
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/Java/" class="post-category" target="_blank">
                                            Java
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/e688a15ee155/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/v2-bf0795e2b893bbc6bc2dce1e25a34bd4_1440w.jpg" class="responsive-img" alt="Java中的Unsafe类">
                            
                            <span class="card-title">Java中的Unsafe类</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                
本文整理完善自下面这两篇优秀的文章：

Java魔法类：Unsafe应用解析-美团技术团队-2019
Java双刃剑之Unsafe类详解-码农参上-2021


阅读过JUC源码的同学，一定会发现很多并发工具类都调用了一个叫做Unsafe
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-03-21
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/Java/" class="post-category" target="_blank">
                                            Java
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
            <div class="article col s12 m6 l4" data-aos="zoom-in">
                <div class="card">
                    <a href="/blog/posts/5c9c6aec0510/" target="_blank">
                        <div class="card-image">
                            
                                <img src="https://picx.zhimg.com/v2-cbe2b915fe3b3f67b76224043807f576_1440w.jpg" class="responsive-img" alt="代理">
                            
                            <span class="card-title">代理</span>
                        </div>
                    </a>

                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                代理模式代理模式是一种比较好理解的设计模式。简单来说就是我们使用代理对象来代替对真实对象(real object)的访问，这样就可以在不修改原目标对象的前提下，提供额外的功能操作，扩展目标对象的功能。代理模式的主要作用是扩展目标对象的功能，
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <!--
                                <i class="far fa-clock fa-fw icon-date"></i>2023-03-21
                                -->

                                
                                    <i class="fas fa-user fa-fw"></i>
                                    <a href="/blog/about" target="_blank">
                                        xmxe
                                    </a>
                                
                            </span>
                            <span class="publish-author">
                                
                                    <i class="fas fa-bookmark fa-fw icon-category"></i>
                                    
                                        <a href="/blog/categories/Java/" class="post-category" target="_blank">
                                            Java
                                        </a>
                                    
                                

                            </span>
                        </div>
                    </div>

                </div>
            </div>
            
        </div>
    </article>

</main>


<div class="container paging">
    <div class="row">
        <div class="col s6 m4 l4">
            
            <a class="left btn-floating btn-large disabled">
                <i class="fas fa-angle-left"></i>
            </a>
            
        </div>
        <div class="page-info col m4 l4 hide-on-small-only">
            <div class="center-align b-text-gray">1 / 3</div>
        </div>
        <div class="col s6 m4 l4">
            
            <a href="/blog/page/2/"
               class="right btn-floating btn-large waves-effect waves-light bg-color">
                <i class="fas fa-angle-right"></i>
            </a>
            
        </div>
    </div>
</div>




    <footer class="page-footer bg-color">
    
        <link rel="stylesheet" href="/blog/libs/aplayer/APlayer.min.css">
<style>
    .aplayer .aplayer-lrc p {
        
        display: none;
        
        font-size: 12px;
        font-weight: 700;
        line-height: 16px !important;
    }

    .aplayer .aplayer-lrc p.aplayer-lrc-current {
        
        display: none;
        
        font-size: 15px;
        color: #42b983;
    }

    
    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
        left: -66px !important;
    }

    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover {
        left: 0px !important;
    }

    
</style>
<div class="">
    
    <div class="row">
        <meting-js class="col l8 offset-l2 m10 offset-m1 s12"
                   server="netease"
                   type="song"
                   id="569200213"
                   fixed='true'
                   autoplay='false'
                   theme='#42b983'
                   loop='all'
                   order='random'
                   preload='auto'
                   volume='0.7'
                   list-folded='true'
        >
        </meting-js>
    </div>
</div>

<script src="/blog/libs/aplayer/APlayer.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script> -->

    
    <div class="container row center-align" style="margin-bottom: 0px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            
            
                <span id="year">2022-2025
                </span>
            
            

            <a href="/blog/about" target="_blank">
                xmxe
            </a>
            |&nbsp;Powered by&nbsp;
            <a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;
            <a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>

            
            
            
            
            
            

            
            <br>

            
            <br>

            
        </div>
        <div class="col s12 m4 l4 social-link2 ">
    <a href="https://github.com/xmxe" class="tooltipped" target="_blank" data-tooltip="GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="https://gitee.com/xmxe" class="tooltipped" target="_blank" data-tooltip="码云" data-position="top" data-delay="50">
        <svg width="19" height="19" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" style="position: relative; top: 2px; left: 0.5px;">
            <path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z" fill="#fff">
            </path>
        </svg>
    </a>

















    
        
          <a href="/blog/download" class="tooltipped" target="_blank" data-tooltip="下载" data-position="top" data-delay="50">
            <i class="fas fa-download"></i>
          </a>
        
    



    <style>
  .mobiledevice {
    display: none !important;
  }

  footer .wechat_qrcode {
    position: fixed;
  }

  /*微信二维码*/
  .wechat_qrcode {
    position: absolute;
    margin-left: 10px;
    bottom: 10px;
    background: url("/blog/medias/xcx.png");
    zoom:40%;
  }

  .wechat:hover .wechat_qrcode {
    width: 430px;
    height: 430px;
    animation: move 0.4s linear 1 normal;
  }

  @keyframes move {
    0% {
      transform: translate(100px, 0);
      opacity: 0;
    }
    50% {
      transform: translate(50px, 0);
      opacity: 0.5;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @media only screen and (max-width: 601px) {
    .wechat {
      display: none !important;
    }
    .mobiledevice {
      display: inline-block !important;
    }
  }
</style>

<a href="javascript:;" class="wechat" data-position="top" data-delay="50">
  <i class="fab fa-weixin"></i>
  <img class="wechat_qrcode" />
</a>

<a
  href="javascript:;"
  class="tooltipped mobiledevice"
  data-tooltip="微信: 464817304"
  data-position="top"
  data-delay="50"
>
  <i class="fab fa-weixin"></i>
</a>

</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script type="text/javascript">
$(function () {
    var searchFunc = function (path, search_id, content_id) {
        'use strict';
        $.ajax({
            url: path,
            dataType: "xml",
            success: function (xmlResponse) {
                // get the contents from search data
                var datas = $("entry", xmlResponse).map(function () {
                    return {
                        title: $("title", this).text(),
                        content: $("content", this).text(),
                        url: $("url", this).text()
                    };
                }).get();
                var $input = document.getElementById(search_id);
                var $resultContent = document.getElementById(content_id);
                $input.addEventListener('input', function () {
                    var str = '<ul class=\"search-result-list\">';
                    var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                    $resultContent.innerHTML = "";
                    if (this.value.trim().length <= 0) {
                        return;
                    }
                    // perform local searching
                    datas.forEach(function (data) {
                        var isMatch = true;
                        var data_title = data.title.trim().toLowerCase();
                        var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                        var data_url = data.url;
                        data_url = data_url.indexOf('/') === 0 ? data.url : '/' + data_url;
                        var index_title = -1;
                        var index_content = -1;
                        var first_occur = -1;
                        // only match artiles with not empty titles and contents
                        if (data_title !== '' && data_content !== '') {
                            keywords.forEach(function (keyword, i) {
                                index_title = data_title.indexOf(keyword);
                                index_content = data_content.indexOf(keyword);
                                if (index_title < 0 && index_content < 0) {
                                    isMatch = false;
                                } else {
                                    if (index_content < 0) {
                                        index_content = 0;
                                    }
                                    if (i === 0) {
                                        first_occur = index_content;
                                    }
                                }
                            });
                        }
                        // show search results
                        if (isMatch) {
                            str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                            var content = data.content.trim().replace(/<[^>]+>/g, "");
                            if (first_occur >= 0) {
                                // cut out 100 characters
                                var start = first_occur - 20;
                                var end = first_occur + 80;
                                if (start < 0) {
                                    start = 0;
                                }
                                if (start === 0) {
                                    end = 100;
                                }
                                if (end > content.length) {
                                    end = content.length;
                                }
                                var match_content = content.substr(start, end);
                                // highlight all keywords
                                keywords.forEach(function (keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    match_content = match_content.replace(regS, "<em class=\"search-keyword\">" + keyword + "</em>");
                                });

                                str += "<p class=\"search-result\">" + match_content + "...</p>"
                            }
                            str += "</li>";
                        }
                    });
                    str += "</ul>";
                    $resultContent.innerHTML = str;
                });
            }
        });
    };

    searchFunc('/blog/search.xml', 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>

    <div class="stars-con">
  <div id="stars"></div>
  <div id="stars2"></div>
  <div id="stars3"></div>  
</div>

<!-- 白天和黑夜主题 -->



<script>
  function switchNightMode() {
    
      setTimeout(function () {
        $('body').hasClass('DarkMode') 
        ? ($('body').removeClass('DarkMode'), localStorage.setItem('isDark', '0'), $('#sum-moon-icon').removeClass("fa-sun").addClass('fa-moon')) 
        : ($('body').addClass('DarkMode'), localStorage.setItem('isDark', '1'), $('#sum-moon-icon').addClass("fa-sun").removeClass('fa-moon')),
          
        setTimeout(function () {
          $('.Cuteen_DarkSky').fadeOut(1e3, function () {
            $(this).remove()
          })
        }, 2e3)
      })
  }
</script>
    
    
    <script>
        /* 模式判断 */
        if (localStorage.getItem('isDark') === '1') {
            document.body.classList.add('DarkMode');
            $('#sum-moon-icon').addClass("fa-sun").removeClass('fa-moon')
        } else {
            document.body.classList.remove('DarkMode');
            $('#sum-moon-icon').removeClass("fa-sun").addClass('fa-moon')
        }
    </script>

    <script src="/blog/libs/materialize/materialize.min.js"></script>
    <script src="/blog/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/blog/libs/aos/aos.js"></script>
    <script src="/blog/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/blog/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/blog/js/matery.js"></script>

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    

    

    

	
    

    

    
    <script type="text/javascript" src="/blog/libs/background/ribbon-dynamic.js" async="async"></script>
    

    

    <!-- 冒泡 -->
    
    <script type="text/javascript">
        // 只在桌面版网页启用特效
        // var windowWidth = $(window).width();
        
            document.write('<script type="text/javascript" src="/blog/libs/others/bubleAll.js"><\/script>');
        
        
    </script>
    

    <!-- 弹出文字 -->
    

</body>

</html>
